"use strict";this.default_gsi=this.default_gsi||{};(function(_){var window=this; try{ var aa,ba,ca,da,ea,fa,ja;aa=function(a){var b=0;return function(){return b=e}}); var oa=function(a,b){a instanceof String&&(a+="");var c=0,d={next:function(){if(c=_.ua[_.ra]&&window.console&&window.console.log&&window.console.log(_.ta(b)+a)}catch(c){}};_.t=function(a,b){try{_.ua.error>=_.ua[_.ra]&&window.console&&window.console.error&&window.console.error(_.ta(b)+a)}catch(c){}}; _.va=function(a){switch(_.v(a,1)){case 1:_.t("The specified user is not signed in.");break;case 2:_.t("User has opted out of using Google Sign In.");break;case 3:_.t("The given client ID is not found.");break;case 4:_.t("The given client ID is not allowed to use Google Sign In.");break;case 5:_.t("The given origin is not allowed for the given client ID.");break;case 6:_.t("Request from the same origin is expected.");break;case 7:_.t("Google Sign In is only allowed with HTTPS.");break;case 8:_.t("Parameter "+ _.v(a,2)+" is not set correctly.");break;case 9:_.t("The browser is not supported.");break;case 12:_.t("Google Sign In does not support web view.");break;case 14:_.t("The client is restricted to accounts within its organization.");break;default:_.t("An unknown error occurred.")}};_.Aa=function(a,b){a=new _.wa(a);b&&_.xa(a,_.ya(_.za(b)));return a.toString()}; _.Da=function(a,b){var c=document.createElement("form");document.body.appendChild(c);c.method="post";Ca(c,a);b&&Object.keys(b).map(function(d){var e=document.createElement("input");e.type="hidden";e.name=d;e.value=b[d];c.appendChild(e)});c.submit()};_.za=function(a){for(var b={},c=_.ha(Object.keys(a)),d=c.next();!d.done;d=c.next())d=d.value,void 0!=a[d]&&""!==a[d]&&(b[d]=a[d]);return b};_.Ga=function(a){var b=new Ea;b.update(a,a.length);return Fa(b.digest())}; _.Ha=function(a){if(!a.startsWith(")]}'\n"))throw console.error("malformed JSON response:",a),Error("z");a=a.substr(5);return _.w.JSON.parse(a)};_.y=function(a,b){a.prototype=(0,_.ia)(b.prototype);a.prototype.constructor=a;if(_.na)(0,_.na)(a,b);else for(var c in b)if("prototype"!=c)if(Object.defineProperties){var d=Object.getOwnPropertyDescriptor(b,c);d&&Object.defineProperty(a,c,d)}else a[c]=b[c];a.la=b.prototype};Ia=Ia||{};_.w=this||self;_.Ja=function(){}; Ka=function(a){var b=typeof a;return"object"!=b?b:a?Array.isArray(a)?"array":b:"null"};La=function(a){var b=Ka(a);return"array"==b||"object"==b&&"number"==typeof a.length};_.Ma=function(a){var b=typeof a;return"object"==b&&null!=a||"function"==b};Na=function(a,b,c){return a.call.apply(a.bind,arguments)}; Oa=function(a,b,c){if(!a)throw Error();if(2b?null:"string"===typeof a?a.charAt(b):a[b]}; Ya=function(a,b){b=(0,_.Ra)(a,b);var c;(c=0<=b)&&Array.prototype.splice.call(a,b,1);return c};Za=function(a){return Array.prototype.concat.apply([],arguments)};_.$a=function(a){var b=a.length;if(0b?1:0}; var nb,lb,kb;_.B=function(a,b){this.h=a===kb&&b||"";this.i=lb};_.B.prototype.ka=!0;_.B.prototype.ja=function(){return this.h.toString()};_.B.prototype.nb=!0;_.B.prototype.g=function(){return 1};_.mb=function(a){return a instanceof _.B&&a.constructor===_.B&&a.i===lb?a.h:"type_error:SafeUrl"};nb=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i;_.ob=function(a){if(a instanceof _.B)return a;a="object"==typeof a&&a.ka?a.ja():String(a);nb.test(a)||(a="about:invalid#zClosurez");return new _.B(kb,a)}; lb={};kb={}; a:{var qb=_.w.navigator;if(qb){var rb=qb.userAgent;if(rb){_.pb=rb;break a}}_.pb=""}_.C=function(a){return-1!=_.pb.indexOf(a)}; var sb;sb=function(){return _.C("Firefox")||_.C("FxiOS")};_.vb=function(){return _.C("Safari")&&!(_.tb()||_.C("Coast")||_.C("Opera")||_.C("Edge")||_.C("Edg/")||_.C("OPR")||sb()||_.C("Silk")||_.C("Android"))};_.tb=function(){return(_.C("Chrome")||_.C("CriOS"))&&!_.C("Edge")}; var wb,zb;_.xb=function(){this.h="";this.j=wb;this.i=null};_.xb.prototype.nb=!0;_.xb.prototype.g=function(){return this.i};_.xb.prototype.ka=!0;_.xb.prototype.ja=function(){return this.h.toString()};_.yb=function(a){return a instanceof _.xb&&a.constructor===_.xb&&a.j===wb?a.h:"type_error:SafeHtml"};wb={};zb=new _.xb;zb.h=_.w.trustedTypes&&_.w.trustedTypes.emptyHTML?_.w.trustedTypes.emptyHTML:"";zb.i=0; var Ca;_.Ab=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}}(function(){var a=document.createElement("div"),b=document.createElement("div");b.appendChild(document.createElement("div"));a.appendChild(b);b=a.firstChild.firstChild;a.innerHTML=_.yb(zb);return!b.parentElement});Ca=function(a,b){b=b instanceof _.B?b:_.ob(b);a.action=_.mb(b)};_.Bb=function(a,b){b=b instanceof _.B?b:_.ob(b);a.assign(_.mb(b))}; _.Cb=String.prototype.repeat?function(a,b){return a.repeat(b)}:function(a,b){return Array(b+1).join(a)}; var Db;Db=function(){return _.C("iPhone")&&!_.C("iPod")&&!_.C("iPad")};_.Eb=function(){return Db()||_.C("iPad")||_.C("iPod")}; var Fb=function(a){Fb[" "](a);return a};Fb[" "]=_.Ja;var Hb=function(a,b){var c=Gb;return Object.prototype.hasOwnProperty.call(c,a)?c[a]:c[a]=b(a)}; var Lb,Mb,Pb,Qb,Gb,Wb;_.Ib=_.C("Opera");_.Jb=_.C("Trident")||_.C("MSIE");_.Kb=_.C("Edge");Lb=_.C("Gecko")&&!(-1!=_.pb.toLowerCase().indexOf("webkit")&&!_.C("Edge"))&&!(_.C("Trident")||_.C("MSIE"))&&!_.C("Edge");Mb=-1!=_.pb.toLowerCase().indexOf("webkit")&&!_.C("Edge");_.Nb=_.Eb();Pb=function(){var a=_.w.document;return a?a.documentMode:void 0}; a:{var Rb="",Sb=function(){var a=_.pb;if(Lb)return/rv:([^\);]+)(\)|;)/.exec(a);if(_.Kb)return/Edge\/([\d\.]+)/.exec(a);if(_.Jb)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(Mb)return/WebKit\/(\S+)/.exec(a);if(_.Ib)return/(?:Version)[ \/]?(\S+)/.exec(a)}();Sb&&(Rb=Sb?Sb[1]:"");if(_.Jb){var Tb=Pb();if(null!=Tb&&Tb>parseFloat(Rb)){Qb=String(Tb);break a}}Qb=Rb}_.Ub=Qb;Gb={};_.Vb=function(a){return Hb(a,function(){return 0<=_.jb(_.Ub,a)})}; if(_.w.document&&_.Jb){var Xb=Pb();Wb=Xb?Xb:parseInt(_.Ub,10)||void 0}else Wb=void 0;var Yb=Wb; _.Zb=sb();_.$b=Db()||_.C("iPod");_.ac=_.C("iPad");_.bc=_.C("Android")&&!(_.tb()||sb()||_.C("Opera")||_.C("Silk"));_.cc=_.tb();_.dc=_.vb()&&!_.Eb(); var ec;ec={};_.fc=null;_.gc=function(){if(!_.fc){_.fc={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;5>c;c++){var d=a.concat(b[c].split(""));ec[c]=d;for(var e=0;e>2;e=(e&3)<<4|g>>4;g=(g&15)<<2|k>>6;k&=63;h||(k=64,f||(g=64));c.push(b[n],b[e],b[g]||"",b[k]||"")}return c.join("")};try{return JSON.stringify(this.J&&this.J,lc)}finally{Uint8Array.prototype.toJSON=a}}:function(){return JSON.stringify(this.J&& this.J,lc)};var lc=function(a,b){return"number"!==typeof b||!isNaN(b)&&Infinity!==b&&-Infinity!==b?b:String(b)};_.E.prototype.toString=function(){return this.J.toString()}; _.mc=function(a){_.F(this,a,-1,null,null)};_.A(_.mc,_.E); _.nc=function(){};_.nc.prototype.Ua=function(a){var b=this;this.A&&window.setTimeout(function(){b.A(a)},100)};_.oc=function(a,b,c){void 0!=c&&(b.detail=c);a.Ua(b)};_.pc=function(a,b,c){_.oc(a,{timestamp:(new Date).getTime(),type:"error",errorType:b},c)}; _.ua={debug:0,info:1,warn:2,error:3};_.ra="warn"; var qc=function(){this.h=-1}; var tc=function(a,b){this.h=64;this.j=_.w.Uint8Array?new Uint8Array(this.h):Array(this.h);this.l=this.i=0;this.g=[];this.o=a;this.m=b;this.s=_.w.Int32Array?new Int32Array(64):Array(64);void 0===rc&&(_.w.Int32Array?rc=new Int32Array(sc):rc=sc);this.reset()},rc;_.A(tc,qc);for(var uc=[],vc=0;63>vc;vc++)uc[vc]=0;var wc=Za(128,uc);tc.prototype.reset=function(){this.l=this.i=0;this.g=_.w.Int32Array?new Int32Array(this.m):_.$a(this.m)}; var xc=function(a){for(var b=a.j,c=a.s,d=0,e=0;eb;b++){e=c[b-15]|0;d=c[b-2]|0;var f=(c[b-16]|0)+((e>>>7|e<<25)^(e>>>18|e<<14)^e>>>3)|0,g=(c[b-7]|0)+((d>>>17|d<<15)^(d>>>19|d<<13)^d>>>10)|0;c[b]=f+g|0}d=a.g[0]|0;e=a.g[1]|0;var h=a.g[2]|0,k=a.g[3]|0,n=a.g[4]|0,m=a.g[5]|0,p=a.g[6]|0;f=a.g[7]|0;for(b=0;64>b;b++){var u=((d>>>2|d<<30)^(d>>>13|d<<19)^(d>>>22|d<<10))+(d&e^d&h^e&h)|0;g=n&m^~n&p;f=f+((n>>>6|n<<26)^(n>>>11|n<<21)^(n>>> 25|n<<7))|0;g=g+(rc[b]|0)|0;g=f+(g+(c[b]|0)|0)|0;f=p;p=m;m=n;n=k+g|0;k=h;h=e;e=d;d=g+u|0}a.g[0]=a.g[0]+d|0;a.g[1]=a.g[1]+e|0;a.g[2]=a.g[2]+h|0;a.g[3]=a.g[3]+k|0;a.g[4]=a.g[4]+n|0;a.g[5]=a.g[5]+m|0;a.g[6]=a.g[6]+p|0;a.g[7]=a.g[7]+f|0}; tc.prototype.update=function(a,b){void 0===b&&(b=a.length);var c=0,d=this.i;if("string"===typeof a)for(;c=e&&e==(e|0)))throw Error("m");this.j[d++]=e;d==this.h&&(xc(this),d=0)}else throw Error("n");this.i=d;this.l+=b}; tc.prototype.digest=function(){var a=[],b=8*this.l;56>this.i?this.update(wc,56-this.i):this.update(wc,this.h-(this.i-56));for(var c=63;56<=c;c--)this.j[c]=b&255,b/=256;xc(this);for(c=b=0;c>d&255;return a}; var sc=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804, 4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]; var Ea=function(){tc.call(this,8,yc)};_.A(Ea,tc);var yc=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]; _.zc=function(){this.sa=this.sa;this.m=this.m};_.zc.prototype.sa=!1;_.zc.prototype.V=function(){this.sa||(this.sa=!0,this.W())};_.zc.prototype.W=function(){if(this.m)for(;this.m.length;)this.m.shift()()}; _.Ac=function(a,b){this.type=a;this.g=this.target=b;this.defaultPrevented=this.h=!1};_.Ac.prototype.stopPropagation=function(){this.h=!0};_.Ac.prototype.preventDefault=function(){this.defaultPrevented=!0}; var Bc;(Bc=!_.Jb)||(Bc=9<=Number(Yb));var Cc=Bc,Dc=_.Jb&&!_.Vb("9"),Ec=function(){if(!_.w.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{_.w.addEventListener("test",_.Ja,b),_.w.removeEventListener("test",_.Ja,b)}catch(c){}return a}(); var Gc=function(a,b){_.Ac.call(this,a?a.type:"");this.relatedTarget=this.g=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.j=this.i=0;this.key="";this.charCode=this.keyCode=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.pointerId=0;this.pointerType="";this.Z=null;if(a){var c=this.type=a.type,d=a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.g=b;if(b=a.relatedTarget){if(Lb){a:{try{Fb(b.nodeName); var e=!0;break a}catch(f){}e=!1}e||(b=null)}}else"mouseover"==c?b=a.fromElement:"mouseout"==c&&(b=a.toElement);this.relatedTarget=b;d?(this.clientX=void 0!==d.clientX?d.clientX:d.pageX,this.clientY=void 0!==d.clientY?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0):(this.i=Mb||void 0!==a.offsetX?a.offsetX:a.layerX,this.j=Mb||void 0!==a.offsetY?a.offsetY:a.layerY,this.clientX=void 0!==a.clientX?a.clientX:a.pageX,this.clientY=void 0!==a.clientY?a.clientY:a.pageY,this.screenX=a.screenX|| 0,this.screenY=a.screenY||0);this.button=a.button;this.keyCode=a.keyCode||0;this.key=a.key||"";this.charCode=a.charCode||("keypress"==c?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.pointerId=a.pointerId||0;this.pointerType="string"===typeof a.pointerType?a.pointerType:Fc[a.pointerType]||"";this.state=a.state;this.Z=a;a.defaultPrevented&&this.preventDefault()}};_.A(Gc,_.Ac);var Fc={2:"touch",3:"pen",4:"mouse"}; Gc.prototype.stopPropagation=function(){Gc.la.stopPropagation.call(this);this.Z.stopPropagation?this.Z.stopPropagation():this.Z.cancelBubble=!0};Gc.prototype.preventDefault=function(){Gc.la.preventDefault.call(this);var a=this.Z;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,Dc)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};Gc.prototype.sc=function(){return this.Z}; var Hc,Jc;Hc="closure_listenable_"+(1E6*Math.random()|0);_.Ic=function(a){return!(!a||!a[Hc])};Jc=0; var Kc=function(a,b,c,d,e){this.listener=a;this.g=null;this.src=b;this.type=c;this.capture=!!d;this.handler=e;this.key=++Jc;this.ua=this.Ia=!1},Lc=function(a){a.ua=!0;a.listener=null;a.g=null;a.src=null;a.handler=null}; var Mc=function(a){this.src=a;this.g={};this.h=0};Mc.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.g[f];a||(a=this.g[f]=[],this.h++);var g=Nc(a,b,d,e);-1d.keyCode||void 0!=d.returnValue)){a:{var e=!1;if(0==d.keyCode)try{d.keyCode=-1;break a}catch(g){e=!0}if(e||void 0==d.returnValue)d.returnValue=!0}d=[];for(e=b.g;e;e=e.parentNode)d.push(e);a=a.type;for(e=d.length-1;!b.h&&0<=e;e--){b.g=d[e];var f=dd(d[e],a,!0,b);c=c&&f}for(e=0;!b.h&&e>>0);_.Uc=function(a){if("function"==Ka(a))return a;a[ed]||(a[ed]=function(b){return a.handleEvent(b)});return a[ed]}; _.fd=function(){_.zc.call(this);this.Y=new Mc(this);this.xa=this;this.D=null};_.A(_.fd,_.zc);_.fd.prototype[Hc]=!0;_.l=_.fd.prototype;_.l.addEventListener=function(a,b,c,d){_.J(this,a,b,c,d)};_.l.removeEventListener=function(a,b,c,d){$c(this,a,b,c,d)}; _.l.dispatchEvent=function(a){var b,c=this.D;if(c)for(b=[];c;c=c.D)b.push(c);c=this.xa;var d=a.type||a;if("string"===typeof a)a=new _.Ac(a,c);else if(a instanceof _.Ac)a.target=a.target||c;else{var e=a;a=new _.Ac(d,c);cb(a,e)}e=!0;if(b)for(var f=b.length-1;!a.h&&0<=f;f--){var g=a.g=b[f];e=hd(g,d,!0,a)&&e}a.h||(g=a.g=c,e=hd(g,d,!0,a)&&e,a.h||(e=hd(g,d,!1,a)&&e));if(b)for(f=0;!a.h&&f=d.g.length)throw _.od;var f=d.g[b++];return a?f:d.h[f]};return e};var sd=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)}; var td=function(a){if(a.$&&"function"==typeof a.$)return a.$();if("string"===typeof a)return a.split("");if(La(a)){for(var b=[],c=a.length,d=0;db)throw Error("w`"+b);a.s=b}else a.s=null};_.xa=function(a,b,c){b instanceof Vd?(a.j=b,ae(a.j,a.m)):(c||(b=Wd(b,be)),a.j=new Vd(b,a.m))}; _.ce=function(a){return a instanceof _.wa?new _.wa(a):new _.wa(a,void 0)};Ud=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""};Wd=function(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,de),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null};de=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)};Xd=/[#\/\?@]/g;Zd=/[#\?:]/g;Yd=/[#\?]/g;be=/[#\?@]/g;$d=/#/g; Vd=function(a,b){this.h=this.g=null;this.i=a||null;this.j=!!b};ee=function(a){a.g||(a.g=new qd,a.h=0,a.i&&Dd(a.i,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};_.ya=function(a){var b=ud(a);if("undefined"==typeof b)throw Error("y");var c=new Vd(null,void 0);a=td(a);for(var d=0;d2*a.i&&rd(a)))};ie=function(a,b){ee(a);b=ge(a,b);return sd(a.g.h,b)};_.l=Vd.prototype;_.l.forEach=function(a,b){ee(this);this.g.forEach(function(c,d){(0,_.Sa)(c,function(e){a.call(b,e,d,this)},this)},this)}; _.l.ba=function(){ee(this);for(var a=this.g.$(),b=this.g.ba(),c=[],d=0;dh?"":0==h?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date((0,_.Qa)()+1E3*h)).toUTCString();this.g.cookie=a+"="+b+c+g+h+d+(null!=e?";samesite="+e:"")}; _.le.prototype.get=function(a,b){for(var c=a+"=",d=(this.g.cookie||"").split(";"),e=0,f;e=_.ua[_.ra]&&window.console&&window.console.warn&&window.console.warn(_.ta(b)+a)}catch(c){}};_.Oj={};Pj={};_.Qj=function(a,b){this.g=a===_.Oj&&b||"";this.h=Pj};_.Qj.prototype.ka=!0;_.Qj.prototype.ja=function(){return this.g};_.Rj=function(a,b,c){_.oc(a,{timestamp:(new Date).getTime(),type:"ui_change",uiActivityType:b},c)}; _.Sj=function(a,b){var c=Math.min(500,screen.width-40);var d=Math.min(550,screen.height-40);c=["toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no","width="+c,"height="+d,"top="+(screen.height/2-d/2),"left="+(screen.width/2-c/2)].join();d=a instanceof _.B?a:_.ob(a);b=_.w.open(_.mb(d),b instanceof _.Qj?b instanceof _.Qj&&b.constructor===_.Qj&&b.h===Pj?b.g:"type_error:Const":b||"",c,void 0);if(!b||b.closed||"undefined"==typeof b.closed)return _.t("Failed to open popup window on url: "+ a+". Maybe blocked by the browser?"),null;b.focus();return b}; }catch(e){_._DumpException(e)} try{ var Z=function(a,b){try{_.ua.info>=_.ua[_.ra]&&window.console&&window.console.info&&window.console.info(_.ta(b)+a)}catch(c){}},Sk=function(a,b){_.Hd(a,function(c){b(_.Qd(c.target))},"GET",void 0,void 0,void 0,!0)},Tk=function(a,b,c){_.Hd(a,function(d){c(_.Qd(d.target))},"POST",b?_.ya(_.za(b)).toString():null,void 0,void 0,!0)},Uk=function(){var a=new Uint32Array(2);(window.crypto||window.msCrypto).getRandomValues(a);return a[0].toString(16)+a[1].toString(16)},Vk=function(a,b){var c=[];c.push(_.J(a, "click",b));c.push(_.J(a,"keydown",function(d){var e=d.key;"Enter"!==e&&" "!==e||b(d)}))},Wk=function(a){var b={};if(a)for(var c=_.ha(Object.keys(a)),d=c.next();!d.done;d=c.next())d=d.value,void 0!==a[d]&&""!==a[d]&&(b[d]=a[d]);return b},Xk=function(a,b){_.Hd("https://oauth2.googleapis.com/revoke",function(c){b(_.Qd(c.target))},"POST",a?_.ya(Wk(a)).toString():null,void 0,void 0,!0)},Yk=function(){for(var a=_.ha(document.getElementsByTagName("META")),b=a.next();!b.done;b=a.next())if(b=b.value,"google-signin-client_id"=== b.getAttribute("name"))return b.getAttribute("content");a=_.ha(document.getElementsByTagName("IFRAME"));for(b=a.next();!b.done;b=a.next())if((b=b.value.getAttribute("src"))&&b.startsWith("https://accounts.google.com/o/oauth2/iframe"))return _.ce(b).j.get("client_id")||null;return null},Zk=function(a){if(!a)return null;var b=a.indexOf("-");if(0<=b)return a.substring(0,b);b=a.indexOf(".");return 0<=b?a.substring(0,b):null},$k=function(a,b,c){var d={};_.ab(a,function(e,f){if(e){var g=f.toLowerCase(); if(0<=b.indexOf(g)){var h=c[g];if(h)switch(h){case "bool":"true"===e.toLowerCase()?d[g]=!0:"false"===e.toLowerCase()?d[g]=!1:_.t("The value of "+f+" can only be true or false. Configuration ignored.");break;case "num":e=parseInt(e,10);isNaN(e)?_.t("Expect a number for '"+f+"'. Configuration ignored."):d[g]=e;break;case "func":"function"===typeof window[e]?d[g]=window[e]:_.t("The value of "+f+" is not a function. Configuration ignored.");break;case "str":d[g]=e;break;default:_.t("Unrecognized type. Configuration ignored.")}}}}); return d},bl=function(a){var b=al,c={};_.ab(a,function(d,e){0>b.indexOf(e.toLowerCase())&&(c[e]=d)});return c},cl=function(){var a=Uk().toString();_.ne.set("g_csrf_token",a,{rb:300,path:"/"});return a},dl=function(a){var b=document.getElementById("credential_picker_iframe");return b?(document.body.removeChild(b),!0):a&&(b=document.getElementById("credential_picker_container"))?(a.removeChild(b),!0):!1},fl=function(a,b,c,d){d=void 0===d?!1:d;var e=el("iframe");_.zd(e,{src:b,id:c,style:"display: block;position: relative;top: 0;left: 0;height: 0;width: 0;border: 0;"}); if(d)return b=el("div"),b.id=c+"-wrapper",b.classList.add("L5Fo6c-sM5MNb"),d=el("div"),_.zd(d,{"aria-label":"Sign in with Google",id:c+"-overlay"}),d.classList.add("L5Fo6c-bF1uUb"),d.tabIndex=0,e.tabIndex=-1,b.appendChild(e),b.appendChild(d),a.appendChild(b),d;a.appendChild(e);return e},gl=function(a){return"number"===typeof a&&!isNaN(a)&&0=a?a:0;return c},Jl=function(a,b){var c=a.g+"p",d=a.g+"s",e=a.g+"l",f=dm(a);void 0==b.disable_auto_prompt?delete f[c]: f[c]=b.disable_auto_prompt;void 0==b.disable_auto_select?delete f[d]:f[d]=b.disable_auto_select?1:0;f[e]=b.g;b=JSON.stringify(f);a.i?_.ne.set(a.h,b,{rb:15552E3,path:"/",domain:a.i}):_.ne.set(a.h,b,{rb:15552E3,path:"/"})},em=function(a){a=Il(a).disable_auto_prompt;return void 0!=a&&a>(new Date).getTime()}; /* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ var fm=/^((?!\s)[a-zA-Z0-9\u0080-\u3001\u3003-\uff0d\uff0f-\uff60\uff62-\uffffFF-]+[\.\uFF0E\u3002\uFF61])+(?!\s)[a-zA-Z0-9\u0080-\u3001\u3003-\uff0d\uff0f-\uff60\uff62-\uffffFF-]{2,63}$/; var gm=function(){}; var hm=function(){};_.A(hm,gm); var im=function(a){this.g=a};_.A(im,hm);_.l=im.prototype;_.l.set=function(a,b){try{this.g.setItem(a,b)}catch(c){if(0==this.g.length)throw"Storage mechanism: Storage disabled";throw"Storage mechanism: Quota exceeded";}};_.l.get=function(a){a=this.g.getItem(a);if("string"!==typeof a&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a};_.l.lb=function(a){this.g.removeItem(a)}; _.l.Ga=function(a){var b=0,c=this.g,d=new _.pd;d.next=function(){if(b>=c.length)throw _.od;var e=c.key(b++);if(a)return e;e=c.getItem(e);if("string"!==typeof e)throw"Storage mechanism: Invalid value was encountered";return e};return d};_.l.key=function(a){return this.g.key(a)}; var jm=function(){var a=null;try{a=window.sessionStorage||null}catch(b){}this.g=a};_.A(jm,im); var km=function(a,b){this.h=a;this.g=b+"::"};_.A(km,hm);km.prototype.set=function(a,b){this.h.set(this.g+a,b)};km.prototype.get=function(a){return this.h.get(this.g+a)};km.prototype.lb=function(a){this.h.lb(this.g+a)};km.prototype.Ga=function(a){var b=this.h.Ga(!0),c=this,d=new _.pd;d.next=function(){for(var e=b.next();e.substr(0,c.g.length)!=c.g;)e=b.next();return a?e.substr(c.g.length):c.h.get(e)};return d}; var lm=new _.Qj(_.Oj,"g_credential_picker"),mm=["bottom_sheet","card"],nm=["signin","signup","use"],pm=function(a,b){b=void 0===b?"i_":b;var c=new jm;if(c.g)try{c.g.setItem("__sak","1");c.g.removeItem("__sak");var d=!0}catch(e){d=!1}else d=!1;this.o=d?new km(c,"g_state_id_"):null;this.xa=b;this.l=a=Object.assign({},a);this.s=this.G=!1;b=new Uint8Array(16);(window.crypto||window.msCrypto).getRandomValues(b);this.m=btoa(String.fromCharCode.apply(String,ol(b))).replace(/=+$/,"");this.B={};om(this,a)}; _.y(pm,_.nc); var om=function(a,b){var c=a.o?a.o.get("ll")||void 0:void 0;if(c)a.va(c);else{if(c=void 0!==b.log_level)c=b.log_level,c=void 0===c||0<=(0,_.Ra)(Yl,c);c&&a.va(b.log_level)}a.R=b.button_url||"https://accounts.google.com/gsi/button";a.K=b.picker_url||"https://accounts.google.com/gsi/select";a.za=b.prompt_url||"https://accounts.google.com/gsi/iframe/select";a.U=b.status_url||"https://accounts.google.com/gsi/status";var d=a.U.match(_.Cd);c=d[1];var e=d[3];d=d[4];var f="";c&&(f+=c+":");e&&(f=f+"//"+e,d&& (f+=":"+d));a.u=f;a.oa=b.container_css_url||"https://accounts.google.com/gsi/style";a.Aa=b.revoke_url||"https://accounts.google.com/gsi/revoke";c=a.u;e=b.client_id;d=a.m;jl=c?c+"/gsi/log":"https://accounts.google.com/gsi/log";kl=e;ll=d;a.callback=b.callback;a.A=b.activity_listener;a.N="redirect"===b.ux_mode?"redirect":"popup";c=b.ui_mode;void 0!=c&&0<=(0,_.Ra)(mm,c)||(c=_.fh()?"bottom_sheet":"card");a.D=c;a.C=(b.prompt_parent_id?document.getElementById(b.prompt_parent_id):null)||document.body;a.ya= 9E4;a.da=!1!==b.cancel_on_tap_outside;c=b.state_cookie_domain;!c||null!=c&&fm.test(c)||(c=void 0);a.wa=new cm(c,a.xa,b.state_cookie_name);a.T(b);c={};void 0!=b.client_id&&(c.client_id=b.client_id);void 0!=b.origin&&(c.origin=b.origin);void 0!=b.auto_select&&(c.auto_select=b.auto_select);c.ux_mode=a.N;"redirect"===c.ux_mode&&b.login_uri&&(c.login_uri=b.login_uri);c.ui_mode=a.D;void 0!==b.context&&0<=(0,_.Ra)(nm,b.context)&&(c.context=b.context);void 0!=b.hint&&(c.hint=b.hint);void 0!=b.hosted_domain&& (c.hosted_domain=b.hosted_domain);void 0!=b.existing&&(c.existing=b.existing);void 0!=b.special_accounts&&(c.special_accounts=b.special_accounts);void 0!=b.nonce&&(c.nonce=b.nonce);void 0!=b.channel_id&&(c.channel_id=b.channel_id);void 0!=b.state&&(c.state=b.state);"warn"!==_.ra&&(c.log_level=_.ra);void 0!=b.hl&&(c.hl=b.hl);c.as=a.m;a.g=c};pm.prototype.T=function(){}; var Cl=function(a){a.G||(a.G=!0,_.J(window,"message",function(b){qm(a,b.Z)},!1),_.Tc(document,"click",function(){a.da&&rm(a,!1)&&(sm(a,"tap_outside"),ql("tapOutside"))}))},El=function(a,b,c){rm(a,!0)&&(tm(a,"flow_restarted"),ql("flowRestarted"));a.i=b;b=Object.assign({},a.l,c);om(a,b);b="bottom_sheet"===a.g.ui_mode?"bottomSheet":"card";a.g.client_id?_.M("unsupported_browser")?(Z("One Tap is not supported in this User Agent."),a.h("browser_not_supported"),_.pc(a,"prompt_display_failed",{cause:"Unsupported user agent for one tap."}), pl(b,"browserNotSupported")):em(a.wa)?(Z("User has closed One Tap before. Still in the cool down period."),a.h("suppressed_by_user"),_.pc(a,"prompt_display_failed",{cause:"Prompt disabled by the user."}),pl(b,"cooldown",(Il(a.wa).g||0).toString())):um(a,function(d){if(d&&_.G(d,3)){a.g.auto_select=a.g.auto_select&&!Il(a.wa).disable_auto_select;a.j=Uk();a.g.channel_id=_.Ga(a.j);a.g.origin=a.g.origin||location.origin;d=_.Aa(a.za,a.g);a.s=!1;var e=a.C,f="bottom_sheet"===a.D;dl(e);if(f)e=document.createElement("iframe"), e.setAttribute("src",d),e.setAttribute("id","credential_picker_iframe"),e.style.display="none",e.style.height="360px",e.style.width="100%",e.style.zIndex=9999,e.style.border="none",e.style.position="fixed",e.style.left="0",e.style.bottom="0",document.body.appendChild(e);else{f=document.createElement("div");e!==document.body?(f.style.position="relative",f.style.zIndex=9999,f.style.top="0",f.style.left="0",f.style.height="auto",f.style.width="auto"):(f.style.position="fixed",f.style.zIndex=9999);f.setAttribute("id", "credential_picker_container");var g=document.createElement("iframe");g.setAttribute("src",d);g.style.display="none";g.style.height="360px";g.style.width="391px";g.style.overflow="hidden";f.appendChild(g);e.appendChild(f)}_.Rj(a,"prompt_displayed");vm(a);wm(a,!0)}else d&&null!=_.v(d,2)?(_.va(_.I(d,_.mc,2)),d=_.v(_.I(d,_.mc,2),1),a.h(2===d?"opt_out_or_no_session":7===d?"secure_http_required":5===d?"unregistered_origin":3===d||4===d?"invalid_client":9===d?"browser_not_supported":12===d?"web_view_not_supported": "unknown_reason"),_.pc(a,"prompt_display_failed",{cause:"Error while checking for the credential status."})):d&&!_.G(d,3)?(_.q("No sessions found in the browser."),a.h("opt_out_or_no_session"),_.pc(a,"prompt_display_failed",{cause:"No signed in Google accounts available."})):(_.q("Invalid response from check credential status."),a.h("unknown_reason"),_.pc(a,"prompt_display_failed",{cause:"A network error was encountered while checking for the credential status."}))}):(_.t("Missing required parameter: client_id."), a.h("missing_client_id"),_.pc(a,"prompt_display_failed",{cause:"Missing required parameter: client_id."}),pl(b,"noClientId"))},Gl=function(a,b,c,d){_.Ad(b);_.bd(b);var e="gsi_"+Date.now()%1E6+"_"+Math.floor(1E6*Math.random()),f=new _.wa(a.R);c=Object.assign({},c);a.B[e]={iframe_id:e,handler:d,data:{nonce:c.nonce||a.l.nonce,state:c.state||a.l.state}};delete c.nonce;delete c.state;d=_.ya(c);d.add("client_id",a.l.client_id);d.add("iframe_id",e);d.add("as",a.m);c.locale&&(d.add("hl",c.locale),_.he(d, "locale"));"warn"!==_.ra&&d.add("log_level",_.ra);_.xa(f,d);d=_.hh();b=fl(b,f.toString(),e,d);d&&Vk(b,function(g){g.preventDefault();g.stopPropagation();xm(a,e)})},xm=function(a,b){_.q("Processing click for button: "+b+".");if(b){var c=_.K(b),d=a.B[b];c?d?d.handler?(d.handler(d.data),_.q("Custom handler called for button: "+b+".")):(b={},d.data&&(d.data.nonce&&(b.nonce=d.data.nonce),d.data.state&&(b.state=d.data.state)),rm(a,!0)&&(tm(a,"flow_restarted"),ql("buttonFlowStarted")),d=Object.assign({}, a.l,b),om(a,d),"redirect"===a.N?(a.g.login_uri||(a.g.login_uri=location.protocol+"//"+location.host+location.pathname),a.g.g_csrf_token=cl(),d=top.location,a=_.Aa(a.K,a.g),a=a instanceof _.B?a:_.ob(a),d.replace(_.mb(a))):(a.j=Uk(),a.g.channel_id=_.Ga(a.j),a.g.origin=a.g.origin||location.origin,_.Sj(_.Aa(a.K,a.g),lm)||ml(new nl("button","popup","clicked","popupNotOpened")))):_.t("A button entry was not found for the given id."):_.t("The iframe containing the button was not found within the page.")}}, rm=function(a,b){var c=a.C;if(!(document.getElementById("credential_picker_iframe")||c&&document.getElementById("credential_picker_container")))return!1;if(!b&&a.s)return Z("Cancel prompt request ignored, since user already interact with the prompt UI."),!1;if(!dl(a.C))return Z("Failed to remove prompt iframe."),!1;Vl(a);return!0};pm.prototype.h=function(a){wm(this,!1,a)}; var wm=function(a,b,c){if(a.i){var d=a.i;b||(a.i=void 0);var e=new am;e.g="display";e.h=b;b||(e.j=c||"unknown_reason");d.call(a,e)}},sm=function(a,b){if(a.i){var c=a.i;a.i=void 0;var d=new am;d.g="skipped";d.l=b;c.call(a,d)}},tm=function(a,b){if(a.i){var c=a.i;a.i=void 0;var d=new am;d.g="dismissed";d.i=b;c.call(a,d)}},um=function(a,b){var c={client_id:a.g.client_id};a.g.hint&&(c.hint=a.g.hint);a.g.hosted_domain&&(c.hosted_domain=a.g.hosted_domain);a.g.as&&(c.as=a.g.as);c=_.Aa(a.U,c);Sk(c,function(d){d&& "null"!==d?(d=new Zl(_.Ha(d)),b(d)):(_.t("Check credential status returns invalid response."),a.h("unknown_reason"),_.pc(a,"network",{cause:"invalid_response"}))})},vm=function(a){"bottom_sheet"===a.D&&window.setTimeout(function(){rm(a,!1)&&(sm(a,"auto_cancel"),ql("autoCancel"))},a.ya)},qm=function(a,b){if(b.origin===a.u&&b.data&&"readyForConnect"===b.data.type){_.q("Setup message received: "+JSON.stringify(b.data));var c=b.data.iframeId;c?a.B[c]&&(c=new MessageChannel,c.port1.onmessage=function(d){if(d.data&& d.data.type){_.q("Message received in button channel: "+JSON.stringify(d.data));var e=d.data.type;if("command"!==e)_.X("Unknown event type ("+e+") received in the button channel.");else{var f;e=d.data.command;switch(e){case "clicked":var g=d.data.iframeId;_.q("Clicked command received for button: "+g+".");xm(a,g);break;case "resize":g=d.data.iframeId;_.q("Resize command received for button: "+g+".");if(g){e=d.data.height;var h=d.data.width;(f=(f=document.getElementById(g))&&"iframe"==f.tagName.toLowerCase()? f:null)&&gl(e)&&gl(h)?(f.style.height=e+"px",f.style.width=h+"px",g=d.data.verticalMargin,d=d.data.horizontalMargin,"number"!==typeof g||isNaN(g)||"number"!==typeof d||isNaN(d)||(f.style.marginTop=g+"px",f.style.marginBottom=g+"px",f.style.marginLeft=d+"px",f.style.marginRight=d+"px"),Wl(a,h,e)):f?_.X("Unable to resize iframe. Invalid dimensions."):_.X("Unable to resize iframe. No iframe found with id: "+(g+"."))}break;default:_.X("Unknown command type ("+e+") received in the button channel.")}}}}, b.source.postMessage({type:"channelConnect"},a.u,[c.port2])):b.data.channelId&&a.j&&(a.j&&_.Ga(a.j))===b.data.channelId&&(c=new MessageChannel,c.port1.onmessage=function(d){if(d.data&&d.data.type)switch(_.q("Message received: "+JSON.stringify(d.data)),d.data.type){case "response":var e=rm(a,!0),f=d.data.response,g=f&&f.credential;if(g){var h=a.wa,k=Il(h);delete k.disable_auto_prompt;k.g&&ml(new nl("onetap",void 0,"resetCooldown",k.g.toString()));k.g=0;Jl(h,k);k=Il(h);delete k.disable_auto_select; Jl(h,k);a.callback&&(a.callback.call(a,f),_.q("Response received: "+JSON.stringify(f)));f=a.g.client_id;h=Yk();if(f&&h){k=Zk(f);var n=Zk(h);!(k&&n||f!==h)||k&&n&&k===n||_.X("The client ids used by Google Sign In and One Tap should be same or from the same project.\nOne Tap may be blocked in the near future if mismatched.")}}e&&(g?tm(a,"credential_returned"):(sm(a,"issuing_failed"),ql("issuingFailed")),Vl(a));d.data.announcement&&il(d.data.announcement);break;case "activity":d.data.activity&&a.Ua(d.data.activity); break;case "command":if(e=d.data.command)switch(e){case "close":d.data.suppress&&(d=a.wa,e=Il(d),e.g=Math.min(e.g+1,4),e.disable_auto_prompt=(new Date).getTime()+1E3*bm[e.g],ml(new nl("onetap",void 0,"startCooldown",e.g.toString())),Jl(d,e));rm(a,!0)&&(sm(a,"user_cancel"),Vl(a),ql("userCancel"));break;case "resize":d=d.data.height;if(gl(d)){a:{if(e=document.getElementById("credential_picker_container")){if(g=e.getElementsByTagName("iframe"),0